package cn.fayang.ymcc.feigncilent;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestMapping;

@FeignClient("service-user")
public interface UserFeigncClient {
    @RequestMapping("/user/phone/{phone}")
    String getPhone(@PathVariable("phone")String phone);

}
